package com.learn.sunday.auth.service;

import com.learn.sunday.auth.bean.KeepAlive;
import com.learn.sunday.auth.bean.RegisterObject;
import com.learn.sunday.auth.bean.ResponseStatus;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface SystemService {


    /**
     * 注册
     *
     * @param registerObject
     * @param request
     * @param response
     */
    void doRegister(RegisterObject registerObject,HttpServletRequest request, HttpServletResponse response);

    ResponseStatus doKeepalive(KeepAlive keepAlive, HttpServletRequest request, HttpServletResponse response);
}
